package com.database.service;

import com.database.character.Collect;

import java.util.List;

public interface CollectService {

  //增加收藏
  int addCollect(Collect collect);

  //取消收藏
  int deleteCollectByPostId(Integer postId);

  //根据userId查询收藏
  List<Collect> getCollectByUid(Integer userId);
}
